package controllers.pc;

import play.Logger;

/**
 * Created by Administrator on 2018-07-28.
 */
public class pc_error extends Logo {
    public static void rote(){

    }
    public static Exception pageEx;

    /**
     * page error
     */
    public static void page(){
        String exMsg = pageEx.getMessage();
        if (!exMsg.isEmpty()){
            render();
        }
    }
    public static Exception databaseEx;

    /**
     * database error
     */
    public static void database(){
        String exMsg = databaseEx.getMessage();
        if (!exMsg.isEmpty()){
            render();
        }
    }
}
